package com.shxc.smarttrade.old.bean;

/**
 * Created by jcdev1 on 2017/11/14.
 */

public class SwitchBean extends ErrorStatus {

    /**
     * data : {"config":{"version":"1.0","channel":"应用宝","os":"Android","dealSwitch":false}}
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * config : {"version":"1.0","channel":"应用宝","os":"Android","dealSwitch":false}
         */

        private ConfigBean config;

        public ConfigBean getConfig() {
            return config;
        }

        public void setConfig(ConfigBean config) {
            this.config = config;
        }

        public static class ConfigBean {
            /**
             * version : 1.0
             * channel : 应用宝
             * os : Android
             * dealSwitch : false
             */

            private String version;
            private String channel;
            private String os;
            private boolean dealSwitch;
            private String message;

            public String getVersion() {
                return version;
            }

            public void setVersion(String version) {
                this.version = version;
            }

            public String getChannel() {
                return channel;
            }

            public void setChannel(String channel) {
                this.channel = channel;
            }

            public String getOs() {
                return os;
            }

            public void setOs(String os) {
                this.os = os;
            }

            public boolean isDealSwitch() {
                return dealSwitch;
            }

            public void setDealSwitch(boolean dealSwitch) {
                this.dealSwitch = dealSwitch;
            }

            public String getMessage() {
                return message;
            }

            public void setMessage(String message) {
                this.message = message;
            }
        }
    }
}
